package com.ncjzw.ms.po;

import java.util.Date;

import com.ncjzw.ms.vo.MessageVO;

/**
 * Message entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Message implements java.io.Serializable {

	// Fields

	private Integer mid;
	private String mtitle;
	private String mcontent;
	private Integer tips;
	private String recontent;
	private String ischeck;
	private String pname;
	private String telphone;
	private String email;
	private Date mptime;
	private Date matime;
	private String remark1;
	private String remark2;
	private String remark3;
	private String remark4;
	private String remark5;

	// Constructors

	/** default constructor */
	public Message() {
	}

	/** full constructor */
	public Message(String mtitle, String mcontent, Integer tips,
			String recontent, String ischeck, String pname, String telphone,
			String email, Date mptime, Date matime, String remark1,
			String remark2, String remark3, String remark4, String remark5) {
		this.mtitle = mtitle;
		this.mcontent = mcontent;
		this.tips = tips;
		this.recontent = recontent;
		this.ischeck = ischeck;
		this.pname = pname;
		this.telphone = telphone;
		this.email = email;
		this.mptime = mptime;
		this.matime = matime;
		this.remark1 = remark1;
		this.remark2 = remark2;
		this.remark3 = remark3;
		this.remark4 = remark4;
		this.remark5 = remark5;
	}
	
	/** vo to po*/
	public Message(MessageVO message) {
		this.mid = message.getMid();
		this.mtitle = message.getMtitle();
		this.mcontent = message.getMcontent();
		this.tips = message.getTips();
		this.recontent = message.getRecontent();
		this.ischeck = message.getIscheck();
		this.pname = message.getPname();
		this.telphone = message.getTelphone();
		this.email  = message.getEmail();
		this.mptime = message.getMptime();
		this.matime = message.getMatime();
		this.remark1 = message.getRemark1();
		this.remark2 = message.getRemark2();
		this.remark3 = message.getRemark3();
		this.remark4 = message.getRemark4();
		this.remark5 = message.getRemark5();
		
	}

	// Property accessors

	public Integer getMid() {
		return this.mid;
	}

	public void setMid(Integer mid) {
		this.mid = mid;
	}

	public String getMtitle() {
		return this.mtitle;
	}

	public void setMtitle(String mtitle) {
		this.mtitle = mtitle;
	}

	public String getMcontent() {
		return this.mcontent;
	}

	public void setMcontent(String mcontent) {
		this.mcontent = mcontent;
	}

	public Integer getTips() {
		return this.tips;
	}

	public void setTips(Integer tips) {
		this.tips = tips;
	}

	public String getRecontent() {
		return this.recontent;
	}

	public void setRecontent(String recontent) {
		this.recontent = recontent;
	}

	public String getIscheck() {
		return this.ischeck;
	}

	public void setIscheck(String ischeck) {
		this.ischeck = ischeck;
	}

	public String getPname() {
		return this.pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public String getTelphone() {
		return this.telphone;
	}

	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getMptime() {
		return this.mptime;
	}

	public void setMptime(Date mptime) {
		this.mptime = mptime;
	}

	public Date getMatime() {
		return this.matime;
	}

	public void setMatime(Date matime) {
		this.matime = matime;
	}

	public String getRemark1() {
		return this.remark1;
	}

	public void setRemark1(String remark1) {
		this.remark1 = remark1;
	}

	public String getRemark2() {
		return this.remark2;
	}

	public void setRemark2(String remark2) {
		this.remark2 = remark2;
	}

	public String getRemark3() {
		return this.remark3;
	}

	public void setRemark3(String remark3) {
		this.remark3 = remark3;
	}

	public String getRemark4() {
		return this.remark4;
	}

	public void setRemark4(String remark4) {
		this.remark4 = remark4;
	}

	public String getRemark5() {
		return this.remark5;
	}

	public void setRemark5(String remark5) {
		this.remark5 = remark5;
	}

}